package com.tarena.lbs.business.openFeign;

import com.tarena.lbs.base.protocol.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "basicClient",url="http://localhost:3030/")
public interface BasicClient {
    @PostMapping("/admin/basic/area/queryArea")
    public Result<List<String>> queryArea(@RequestBody List<Long> idList);
}
